/*
 * MENU.h
 *
 * Created: 24.09.2012 17:55:54
 *  Author: mariuvi
 */ 

/*!
 * @header		MENU.h
 * @discussion	This file contains all declarations for controlling the menu.
*/


#ifndef MENU_H_
#define MENU_H_


/*!
 * @discussion	An enum containing the USB card's possible states
*/

typedef enum{
	BROWSE,
	PLAY,
	CHANGE_PD,
	SRAM_TEST,
	TRACK
}MENU_status;


/*!
 * @var			USB_state
 * @discussion	The USB card's current state
*/
MENU_status USB_state;
 
 
/*!
 * @function	MENU_init
 * @discussion	Initializes the menu.
 * @result		None.
 */	


void MENU_init();
 /*!
 * @function	MENU_print_menu.
 * @discussion	Prints the menu according to where we are navigated.
 * @result		None.
 */	
void MENU_print_menu();


 /*!
 * @function	MENU_browse
 * @discussion	Allows navigation of the menu, only once every 0.5 second.
 * @result		None.
 */	
void MENU_browse();


#endif /* MENU_H_ */